package com.itheima.blog.search.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.blog.search.domain.dto.SearchDTO;
import com.itheima.blog.search.domain.po.TBlog;
import com.itheima.common.domain.DTO.LogStateDTO;
import com.itheima.common.domain.R;

import java.io.IOException;

/**
 * <p>
 * 博客文章表 服务类
 * </p>
 *
 * @author lin
 * @since 2023-07-12
 */
public interface ITBlogService extends IService<TBlog> {

    R search(SearchDTO search) throws IOException;

    boolean updateStatus(LogStateDTO logStateDTO);

}
